Caption = "The RcResult event occurs when a BEdit or HEdit control attempts to recognize the ink. The event can be used as a trigger to create a 'locking' signature field. Once the user stops inking, the field will be locked and no changes can be made."
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00000000&
Height = 795
Index = 0
Left = 240
TabIndex = 2
Top = 120
Width = 8355
End
End
Begin VHedit SigField
BackColor = &H00FFFFFF&
DelayRecog = -1 'True
Height = 855
InflateBottom = 18
InflateLeft = 18
InflateRight = 18
InflateTop = 18
Left = 480
TabIndex = 3
TabStop = 0 'False
Top = 1560
Version = 268435458
Width = 6135
End
Begin CommandButton ResetButton
Caption = "Reset Signature"
Height = 855
Left = 6840
TabIndex = 0
Top = 1560
Width = 1755
End
Begin PictureBox Picture1
BackColor = &H00C0C0C0&
Height = 855
Index = 1
Left = 120
ScaleHeight = 825
ScaleWidth = 8745
TabIndex = 7
TabStop = 0 'False
Top = 2640
Width = 8775
Begin Label Label1
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "The RcResult event can be used to obtain a great deal of information about the recognition process. When a word is evaluated only the most likely candidate is displayed, but with some manipulation all the possible results can be seen."
ForeColor = &H00000000&
Height = 615
Index = 1
Left = 540
TabIndex = 8
Top = 120
Width = 7755
End
End
Begin VHedit HEdit
BackColor = &H00FFFFFF&
ForeColor = &H00000000&
Height = 435
InflateBottom = 18
InflateLeft = 18
InflateRight = 18
InflateTop = 18
Left = 2040
TabIndex = 9
TabStop = 0 'False
Top = 3660
Version = 268435458
Width = 2535
End
Begin ListBox ListOfOptions
BackColor = &H00FFFFFF&
ForeColor = &H00000000&
Height = 810
Left = 2040
TabIndex = 6
TabStop = 0 'False
Top = 4680
Width = 6855
End
Begin CommandButton Command1
Caption = "Return to Main Menu"
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 495
Left = 120
TabIndex = 4
Top = 5640
Width = 8775
End
Begin Label Label2
BackColor = &H00FFFFFF&
Caption = "Locking Signature Field"
ForeColor = &H00000000&
Height = 255
Index = 0
Left = 2040
TabIndex = 5
Top = 1320
Width = 2175
End
Begin Label Label2
Alignment = 1 'Right Justify
BackColor = &H00FFFFFF&
Caption = "Write a Word Here:"
ForeColor = &H00000000&
Height = 255
Index = 1
Left = 180
TabIndex = 10
Top = 3780
Width = 1755
End
Begin Label Label2
Alignment = 1 'Right Justify
BackColor = &H00FFFFFF&
Caption = "Symbol Graph:"
ForeColor = &H00000000&
Height = 255
Index = 3
Left = 480
TabIndex = 13
Top = 4260
Width = 1455
End
Begin Label GraphWnd
BackColor = &H00FFFFFF&
BorderStyle = 1 'Fixed Single
FontBold = -1 'True
FontItalic = 0 'False
FontName = "Arial"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00000000&
Height = 375
Left = 2040
TabIndex = 12
Top = 4200
Width = 6855
End
Begin Label Label2
Alignment = 1 'Right Justify
BackColor = &H00FFFFFF&
Caption = "Possible interpretations will appear here:"
ForeColor = &H00000000&
Height = 675
Index = 2
Left = 480
TabIndex = 11
Top = 4740
Width = 1455
End
End
Option Base 1
Sub AddToGraph (Syv&, SyvType&)
Select Case SyvType&
Case SYVHI_ANSI 'If an ANSI Symbol, add it to the graph
GraphWnd.Caption = GraphWnd.Caption + Chr$((Syv& And &HFF)) + " "
Case SYVHI_SPECIAL 'If the symbol is a Meta Symbol, replace it with a visible character
Select Case Syv&
Case SYV_UNKNOWN
GraphWnd.Caption = GraphWnd.Caption + "? "
Case SYV_BEGINOR
GraphWnd.Caption = GraphWnd.Caption + "{ "
Case SYV_ENDOR
GraphWnd.Caption = GraphWnd.Caption + "} "
Case SYV_OR
GraphWnd.Caption = GraphWnd.Caption + "| "
End Select
Case SYVHI_GESTURE 'If the symbol is a gesture, print the gesture name